<div class="block" style="position:relative; z-index:999999">

    <div id="mainNav" class="clearfix">
        <ul class="u1" onmouseover="this.className='u1 u1_over '" onmouseout="this.className='u1'"   >
            <a class="a1"  href="index.php">首页</a>
        </ul>
        <ul class="u1" onmouseover="this.className='u1 u1_over'" onmouseout="this.className='u1'" >
            <a  class="a1"  href="category.php?id=21" >女装</a>
        </ul>
        <ul class="u1" onmouseover="this.className='u1 u1_over'" onmouseout="this.className='u1'" >
            <a  class="a1"  href="category.php?id=132" >钻石</a>
        </ul>
        <ul class="u1" onmouseover="this.className='u1 u1_over'" onmouseout="this.className='u1'" >
            <a  class="a1"  href="category.php?id=170" >裤子</a>
        </ul>
        <ul class="u1" onmouseover="this.className='u1 u1_over'" onmouseout="this.className='u1'" >
            <a  class="a1"  href="brand.php" >品牌专区</a>
        </ul>
        <ul class="u1" onmouseover="this.className='u1 u1_over'" onmouseout="this.className='u1'" >
            <a  class="a1"  href="group_buy.php" >团购</a>
        </ul>
    </div>
</div>
</div>
<div id="search"  class="clearfix">
    <form id="searchForm" name="searchForm" method="get" action="search.php" onSubmit="return checkSearchForm()" class="f_l" >
        <input name="keywords" type="text" id="keyword" value="品名或商品号" onclick="javascript:this.value=''" class="B_input"/>
        <input name="imageField" type="submit" value="" class="go" style="cursor:pointer;" />

    </form>
    <div class="keys f_l">
        <script type="text/javascript">

            <!--
            function checkSearchForm()
            {
                if(document.getElementById('keyword').value)
                {
                    return true;
                }
                else
                {
                    alert("请输入搜索关键词！");
                    return false;
                }
            }
            -->

        </script>
    </div>

    <div class="keys_r">

        <a href="search.php?intro=promotion">特价专区</a> | <a href="search.php?intro=hot">热销活动</a>  | <a style="color:#fe596a" href="search.php?intro=new">最新热销</a>
    </div>
</div>

<script>
    <?php $ic = C('IMAGE_CONFIG'); ?>

    var picView = "<?php echo $ic['viewPath']; ?>";
    $("#cart_list").mouseover(function () {
        $.ajax({
            type : "GET",
            url  : "<?php echo U('Cart/ajaxCartList'); ?>",
            dataType : "json",
            success :function (data) {
                var html = "<table>";
                $(data).each(function (k,v) {
                    html += '<tr>';
                    html += '<td><img width="50" src="'+picView+v.mid_logo+'" /></td>';
                    html += '<td>'+v.goods_name+'</td>';
                    html += '</tr>';
                });
                html += "</table>";
                $("#cart_div_list").html(html);
            }
        });
    });

</script>